import request from '@/utils/request'


export function listDetection(query) {
  return request({
    url: '/check/detection/list',
    method: 'get',
    params: query
  })
}


export function addDetection(data) {
  return request({
    url: '/check/detection/add',
    method: 'post',
    data: data
  })
}


export function delDetection(ids) {
  return request({
    url: '/check/detection/remove/'+ids,
    method: 'post'
  })
}


export function getDetection(id) {
  return request({
    url: '/check/detection/' + id,
    method: 'get'
  })
}
